//
//  Fish.h
//  OC1_类和对象课后作业
//
//  Created by dllo on 15/10/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Fish : NSObject

{
@public
    NSString *_name;
    NSString *_color;
    CGFloat _heavy;

}

-(void)info;

-(void)swim;



-(NSString *)name;

-(void)setName:(NSString *)name;

-(NSString *)color;

- (void)setColor:(NSString *)color;

- (CGFloat)heavy;

- (void)setHeavy:(CGFloat)heavy;

- (id)initWithName:(NSString *)name color:(NSString *)color heavy:(CGFloat)heavy;

+ (id)fishWithName:(NSString *)name color:(NSString *)color heavy:(CGFloat)heavy;

@end
